import HttpCallback from '../base/HttpCallback'

export default interface RequestInterface {
    getRequest(viewModel: any, url: string, params: {
        key: string,
        value: string
    }[], callback: HttpCallback)

    checkRequest(viewModel: any, url: string, callback: HttpCallback)

    operateRequest(viewModel: any, url: string, callback: HttpCallback)

    cancelRequest(viewModel: any, url: string, callback: HttpCallback)
}